package com.system.manager.modules.risk.service;

import com.system.manager.common.annotation.CurrSubject;
import com.system.manager.modules.authorized.entity.Subject;
import com.system.manager.modules.authorized.entity.User;
import com.system.manager.modules.risk.dto.ExamVo;
import com.system.manager.modules.risk.vo.ExamDate;
import com.system.manager.modules.risk.vo.UserDate;
import com.system.manager.modules.risk.entity.StaffStation;
import com.system.manager.modules.risk.entity.TbExam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yxp
 * @since 2021-11-11
 */
public interface ITbExamService extends IService<TbExam> {


    //推送试题
    public UserDate<TbExam> findExam(Integer currPage, Integer size, Subject subject);

    //提交试题
    public void postExam(List<ExamVo> examVo,Subject subject);

    //判断得分
    public UserDate findScore(Subject subject);

    //返回结果
    public UserDate returnScore(Subject subject);

    //返回结果页面
    public UserDate<ExamDate> correct(List<ExamVo> examVo,Subject subject);

}
